//
//  HMKeyboardTool.m
//  01-网易彩票
//
//  Created by SZSYKT_iOSBasic_2 on 16/2/20.
//  Copyright © 2016年 heima. All rights reserved.
//

#import "HMKeyboardTool.h"

@implementation HMKeyboardTool

+ (instancetype)tool {
    return [[[NSBundle mainBundle] loadNibNamed:@"HMKeyboardTool" owner:nil options:nil] lastObject];
}

- (IBAction)sureBtnClick{
    if (self.btnClickBlock) {
        self.btnClickBlock(HMKeyboardToolButtonTypeSure);
    }
}

- (IBAction)cancelBtnClick {
    if (self.btnClickBlock) {
        self.btnClickBlock(HMKeyboardToolButtonTypeCancel);
    }
}

@end
